<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>计算器</title>
		<link rel="stylesheet" type="text/css" href="./jsq.css" />
		<script src="./jsq.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<h3 align="center">计算器</h3>
		<div class="jsqbox">

			<div class="jsq1">
				<input type="text" id="screenName" name="screenName" class="screen" value="" onfocus="jsq(this)">
			</div>
			<div class="jsq3">
				<input type="button" id="C" value="AC" onclick="clearNum()" />
				<input type="button" id="+/-" value="+/-" onclick="qufan()" />
				<input type="button" id="%" value="%" onclick="jsq(this.id)" />
				<input type="button" id="/" value="/" onclick="jsq(this.id)" style="background-color: #FF7F50;"/>
			</div>
			<div class="jsq3">
				<input type="button" id="7" value="7" onclick="jsq(this.id)" />
				<input type="button" id="8" value="8" onclick="jsq(this.id)" />
				<input type="button" id="9" value="9" onclick="jsq(this.id)" />
				<input type="button" id="*" value="*" onclick="jsq(this.id)" style="background-color: #FF7F50;"/>
			</div>
			<div class="jsq3">
				<input type="button" id="4" value="4" onclick="jsq(this.id)" />
				<input type="button" id="5" value="5" onclick="jsq(this.id)" />
				<input type="button" id="6" value="6" onclick="jsq(this.id)" />
				<input type="button" id="-" value="-" onclick="jsq(this.id)" style="background-color: #FF7F50;"/>
			</div>
			<div class="jsq3">
				<input type="button" id="1" value="1" onclick="jsq(this.id)" />
				<input type="button" id="2" value="2" onclick="jsq(this.id)" />
				<input type="button" id="3" value="3" onclick="jsq(this.id)" />
				<input type="button" id="+" value="+" onclick="jsq(this.id)"style="background-color: #FF7F50;"/>
			</div>
			<div class="jsq3">
				<input type="button" id="0" value="0" class="zero" onclick="jsq(this.id)" />
				<input type="button" id="." value="." onclick="jsq(this.id)"/>
				<input type="button" id="eva" value="=" onclick="eva()" style="background-color: #FF7F50;"/>
			</div>
		</div>
		</div>
	</body>
</html>
